package com.easy.mapper;

import com.easy.bean.Pay;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface PayDao {
    int add(@Param("param") Pay pay);
    int del(@Param("id")Integer id);
    int edit(@Param("param")Pay pay);
    Pay one(@Param("id")Integer id);
    List< Pay> all(@Param("param")Pay pay);


    int pageCount(@Param("param")Pay pay);
    List< Pay> page(@Param("page") Page page, @Param("param")Pay pay);

}
